package com.jeecg.school.entity;

import java.math.BigDecimal;
import java.util.Date;
import java.lang.String;
import java.lang.Double;
import java.lang.Integer;
import java.math.BigDecimal;
import javax.xml.soap.Text;
import java.sql.Blob;
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.Table;
import org.hibernate.annotations.GenericGenerator;
import javax.persistence.SequenceGenerator;
import org.jeecgframework.poi.excel.annotation.Excel;

/**   
 * @Title: Entity
 * @Description: 班级
 * @author onlineGenerator
 * @date 2020-02-05 12:43:18
 * @version V1.0   
 *
 */
@Entity
@Table(name = "grade", schema = "")
@SuppressWarnings("serial")
public class GradeEntity implements java.io.Serializable {
	/**主键*/
	private java.lang.Integer id;
	/**班级名称*/
	@Excel(name="班级名称",width=15)
	private java.lang.String gradeName;
	/**班级状态*/
	@Excel(name="班级状态",width=15)
	private java.lang.String gradeState;
	/**班主任id*/
	@Excel(name="班主任id",width=15)
	private java.lang.Integer teacherId;
	
	/**
	 *方法: 取得java.lang.Integer
	 *@return: java.lang.Integer  主键
	 */
	@Id
	@GeneratedValue(strategy = GenerationType.AUTO)

	@Column(name ="ID",nullable=false,length=20)
	public java.lang.Integer getId(){
		return this.id;
	}

	/**
	 *方法: 设置java.lang.Integer
	 *@param: java.lang.Integer  主键
	 */
	public void setId(java.lang.Integer id){
		this.id = id;
	}
	/**
	 *方法: 取得java.lang.String
	 *@return: java.lang.String  班级名称
	 */

	@Column(name ="GRADE_NAME",nullable=true,length=50)
	public java.lang.String getGradeName(){
		return this.gradeName;
	}

	/**
	 *方法: 设置java.lang.String
	 *@param: java.lang.String  班级名称
	 */
	public void setGradeName(java.lang.String gradeName){
		this.gradeName = gradeName;
	}
	/**
	 *方法: 取得java.lang.String
	 *@return: java.lang.String  班级状态
	 */

	@Column(name ="GRADE_STATE",nullable=true,length=3)
	public java.lang.String getGradeState(){
		return this.gradeState;
	}

	/**
	 *方法: 设置java.lang.String
	 *@param: java.lang.String  班级状态
	 */
	public void setGradeState(java.lang.String gradeState){
		this.gradeState = gradeState;
	}
	/**
	 *方法: 取得java.lang.Integer
	 *@return: java.lang.Integer  班主任id
	 */

	@Column(name ="TEACHER_ID",nullable=true,length=20)
	public java.lang.Integer getTeacherId(){
		return this.teacherId;
	}

	/**
	 *方法: 设置java.lang.Integer
	 *@param: java.lang.Integer  班主任id
	 */
	public void setTeacherId(java.lang.Integer teacherId){
		this.teacherId = teacherId;
	}
}
